/config/app/health/monitor//serverUp/threshold¶
Use
Use to determine when a server that is down should be marked as up because the specified number of health probes has succeeded. The value here works with the value in the window node to become a ratio. This value is the number of successes.
Parameters¶
name: Name of health monitor
Data Key¶
The data key contains the number of successes to use.
Data Type¶
uint32
Default Data Value¶
2
Default Allowed¶
False
Request Methods¶
GET, PUT
Examples¶
GET
curl -b cookie.jar -k https://10.1.2.3:8443/lrs/api/v1.0/config/app/health/mon itor/hm-01/serverUp/threshold
GET Response
{"/config/app/health/monitor/hm-01/serverUp/threshold": {"data": 1,
"default": False,
"defaultAllowed": False,
"deleteAllowed": False,
"numChildren": 0,
"type": "uint32"},
"httpResponseCode": 200,
"recurse": False,
"requestPath": "/config/app/health/monitor/hm-01/serverUp/threshold"}
PUT
curl -b cookie.jar –data @data.json -k -H “Content-Type: application/json” -X PUT https://10.1.2.3:8443/lrs/api/v1.0/config/app/health/monitor/hm-01/serverU p/threshold
PUT Response
{"httpResponseCode": 200,
"requestPath": "/config/app/health/monitor/hm-01/serverUp/threshold",
"recurse":false}
- /config/app/health/monitor/
/serverUp/threshold 1. Parameters 2. Data Key - Data Type
- Default Data Value 3. Default Allowed 4. Request Methods 5. Related 6. Examples